package dmir.reaction.publico.stringmatching;

import com.wcohen.ss.JaroWinklerTFIDF;

public class Sample {
	
	static JaroWinklerTFIDF jaroWinklerTFIDF = new JaroWinklerTFIDF();
	
	public static void main( String[] args ) {
	
		
		String a = "Abdul Rachid Dostam";
		String b = "Abdul Rachid Dostum"; 

		String c = "Abdul Rashid Dosta";
		String d = "Abdul Rashid Dostam";
		String e = "Abdul Rashid Dostum";
		
		String f = "Abdul Rashid Dostam";
		String g = "Abdul Rashid Dostum";
		
		String h = "Aminetu Haidar";
		String i = "Aminatu Haidar";
		
		String j = "Abdullah Gül";
		String k = "Abdullah Gul";	
		
		compare(j,k);
		
	}
	
	public static void compare(String a,String b) {
		System.out.println(a + '\t' + b + ' ' + jaroWinklerTFIDF.score(a,b));
	}			
}
